﻿Imports System.Runtime.Serialization


Imports System.Xml.Serialization

<Serializable>
Public Class UnitType
    Inherits GameElement

    Sub New(ByVal Id As Integer)
        MyBase.New(Id)
    End Sub

    Property UnitName As String

#Region "Stats"

    Property Cost As Integer

    Property Vision As Integer

    Property Gas As Integer

    Property MoveRange As Integer

    Property MaxAmmo As Integer

    Property AttackRange As Integer

    Property MoveType As MovementType

    Property MainWeapon As AttackWeapon

    Property SecondaryWeapon As AttackWeapon

#End Region

    ReadOnly Property CanCapture As Boolean
        Get
            Return Id < 2
        End Get
    End Property










End Class
